package com.qfedu.yanglao20admin.sysAdmin.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户管理信息")
public class SysUserVO {
    @ApiModelProperty("用户管理id")
    private Integer id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("真实姓名")
    private String realName;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("企业名称")
    private String companyName;

    @ApiModelProperty("部门名称")
    private String departmentName;

    @ApiModelProperty("区域名称")
    private String areaName;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("可用状态0禁用1启用")
    private Integer enableFlag;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
